package com.atguigu.gulimall.order.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HelloController {
    @GetMapping("/{page}.html")
    public String listPage(@PathVariable String page){
        return page;

    }





    @ResponseBody
    @GetMapping("showshow")
    public String show(){
        return "woaini";
    }






}
